<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>

<!--    <link rel="stylesheet" type="text/css" th:href="@{/my.css}" >-->

</head>
<body>
    <span id="myP">Hello Thymeleaf</span>

    <a th:href="@{/getTest(name=高溪)}">测试Get是否存在中文乱码</a>

    <form th:action="@{/addUser}" method="post">
        <input type="hidden" value="PUT" name="_method">
        姓名：<input type="text" name="userName" >
        <input type="submit" value="提交">
    </form>

    <a th:href="@{/download}">下载</a>

    <form th:action="@{/upload}" method="post" enctype="multipart/form-data">
        头像：<input type="file" name="photo"><br>
        <input type="submit" value="上传">
    </form>


</body>
</html>